package com.xyoto.community.enums;

/**
 * @author coderFu
 * @create 2021/10/1
 *匿名用户返回枚举
 */

public enum RotationChartEnum implements Code {


    ADD_ROTATION_CHART_FAIL(4500,"新增轮播图失败"),
    ROTATION_CHART_NOT_EXIST(4501,"轮播图不存在"),
    UPDATE_ROTATION_CHART_FAIL(4502,"更新轮播图失败")
    ;




   private int code;
   private String msg;
    RotationChartEnum(int code, String msg){
        this.code = code;
        this.msg = msg;
    }


    @Override
    public int code() {
        return this.code;
    }

    @Override
    public String msg() {
        return this.msg;
    }
}
